updated act for calculating depth and new positions