Update form size on events