Updated using the stored procedures