finished user editing and error handling