changed template up for CRUD