update the apply form