update, removed delay and offset for animation