SQL statement added to prevent error on update