update and delete query works, was just a bad written test