def update_status(self, *args, **kwargs):
post_data = {}<EOL>media_ids = kwargs.pop("<STR_LIT>", None)<EOL>if media_ids is not None:<EOL><INDENT>post_data["<STR_LIT>"] = list_to_csv(media_ids)<EOL><DEDENT>return bind_api(<EOL>api=self,<EOL>path='<STR_LIT>',<EOL>method='<STR_LIT:POST>',<EOL>payload_type='<STR_LIT:status>',<EOL>allowed_param=['<STR_LIT:status>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:source>', '<STR_LIT>', '<STR_LIT>'],<EOL>require_auth=True<EOL>)(post_data=post_data, *args, **kwargs)<EOL>
:reference: https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update
            :allowed_param:'status', 'in_reply_to_status_id', 'in_reply_to_status_id_str', 'auto_populate_reply_metadata', 'lat', 'long', 'source', 'place_id', 'display_coordinates', 'media_ids'