Refactor update and create_next_sprint

 - move common functionality to load_last_sprint
 - move raise error to write_data