update to fix scroll bug