update project and task titles after pressing enter key