fixed method for allowing project owner only to edit