update layout of forms