synced attributes with db and get code, cleaned up views