States. Stored procedure update