update goal every tick