Refactored the bulk_update_order function of project api