if resp same as db on edit than send to error page