update for server, register for image