update database picture