Update store procedure and functions