Created Helper function for updating Chunks