Adding closest bikes functionality, making it so database is updated correctly even if table is dropped