Add start_upload and end_upload handles in plug