added update functionality to projects