Updated crud controller