fix npe in project update task