updated for sql issue with inserting review