Added functions for update and delete project