1. Removed text length requirements for updating function.
2. Added constraints for updating function: only activities which are at status "created" can be updated.