added update button, fixed update rendering