committing some db stuff