added project edit validation