update with maximize