Adjusting pins and database