Updating button position