update database did not work