Adds function to update projects