update battle object