Last steps updated: get data from the database