updating float mechanics