update cake calc functions