updating jquery animation