Update Procedure logic (WIP)